package com.guli.sms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.sms.entity.SeckillPromotionEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guli.sms.vo.PromotionAndPromotionSession;

/**
 * 秒杀活动
 *
 * @author LuoJunHua
 * @email 1007052116@qq.com
 * @date 2020-11-29 10:59:49
 */
public interface SeckillPromotionService extends IService<SeckillPromotionEntity> {

    Page<SeckillPromotionEntity> queryPage(Integer currentPage, Integer size, Long promotionId);

    Page<PromotionAndPromotionSession> getListBySecKillSessionId(Integer currentPage, Integer size, Long secKillSessionId);
}

